package com.trytry.service;

import java.util.List;

import org.hibernate.HibernateException;

import com.trytry.entity.Article;
import com.trytry.entity.Page;
import com.trytry.entity.User;

public interface UserService {
public User login(User user);
public Page<User> getall(int start,int limit,int currentpage);
Page<Article> getArticles(int start, int limit, int currentpage, String tablename, String keywords)
		throws HibernateException, ClassNotFoundException;
}
